package com.liuceng.zen.service;

import java.util.List;
import java.util.Map;

import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Service;

import com.liuceng.zen.mapper.FrontCreativeMapper;
import com.liuceng.zen.pojo.domain.FrontCreative;

@Service
public class FrontCreativeService extends BaseService<FrontCreative> {

  @Autowired
  FrontCreativeMapper frontCreativeMapper;

  public List<FrontCreative> findFrontCreatives(Map<String, Object> map) {
    return frontCreativeMapper.findFrontCreatives(map);
  }

  public int deleteByParam(Map<String, Object> map) {
    return frontCreativeMapper.deleteByParam(map);
  }
}
